﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace FullDuplexServiceExample
{
	[ServiceContract(CallbackContract = typeof(IMyCallback))]
	public interface IMyService
	{
		[OperationContract]
		void SendMsg(MyMsg msg);
	}

	[ServiceContract]
	public interface IMyCallback
	{
		[OperationContract(IsOneWay = true)]
		void ResponseToSentMsg(MyMsg msg);
	}
}
